﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="QuantityRegisterUser.aspx.cs" Inherits="UserManagement_QuantityRegisterUser"  %>
<%@ Register Assembly="AjaxControlToolkit"  Namespace="AjaxControlToolkit"    TagPrefix="ajaxToolkit" %>
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>批量录入用户</title>
    <link href="../Css/ys.css" rel="stylesheet" type="text/css" />
    <script language="javascript" type="text/javascript">
        function SetSelectedValue(source, eventArgs) {
            var targetControlId = source.get_element().id;//得到textbox的id
            var index = targetControlId.substring(15, targetControlId.length); //获取行号
            var uInfo = eventArgs.get_value().split('|');

            document.getElementById('hidUserId' + index).value = uInfo[0];
            document.getElementById('txtLoginName' + index).value = uInfo[1];
            document.getElementById('txtMobile' + index).value = uInfo[2];
            document.getElementById('txtEmail' + index).value = uInfo[3];
            
            document.getElementById('txtUserRealName'+index).value = eventArgs.get_text().split(' ')[0];

        }
        function CheckUserValue() {
            return true;
        }
        function SetClassSelectedValue(source, eventArgs) {
            var targetControlId = source.get_element().id; //得到textbox的id
            var index = targetControlId.substring(20, targetControlId.length); //获取行号
            document.getElementById('hidTrainingClassId' + index).value = eventArgs.get_value();
        }



    </script>
    <style type="text/css">
    /* AutoComplete 被选择的项目 */
.autocomplete_highlightedListItem
{
background-color: #bfbfbf;
color: black;
padding: 1px;
}

/* AutoComplete 列表 */
.autocomplete_listItem 
{
background-color: window;
color: windowtext;
padding: 1px;
}

    </style>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div style="margin-left:5px">
     <div class="title" >批量录入用户</div>
      <div id="search" class="search">
        <table cellspacing="1" cellpadding="3" border="0">
        <tr>
	<td class="noWrapTD"  style="width:130px " >
		培训班编号（唯一）
	：</td>
	<td   style="text-align:left; width:100px">
		<asp:Label id="lblVTC_Number" runat="server"></asp:Label>
	</td>
	<td class="noWrapTD"  style="width:80px;"  >
		培训班名称
	：</td>
	<td  style="text-align:left;width:100px;" >
		<asp:Label id="lblVTC_name" runat="server"></asp:Label>
	</td>
	<td class="noWrapTD"   style="width:90px" >
		最大学员数量
	：</td>
	<td   style="text-align:left; width:280px">
		<asp:Label id="lblMaxUserCount" runat="server"></asp:Label>
	</td>
	</tr>
	
	<tr>
	<td class="noWrapTD"  >
		开课日期
	：</td>
	<td   style="text-align:left">
		<asp:Label id="lblVTC_starDate" runat="server"></asp:Label>
	</td>
	<td class="noWrapTD"  >
	截课日期
	：</td>
	<td   style="text-align:left">
		<asp:Label id="lblVTC_endDate" runat="server"></asp:Label>
	</td>
	<td class="noWrapTD"  >
		培训班描述
	：</td>
	<td onmouseover="this.title = this.innerText"  style="text-align:left" >
		 <div  style="overflow: hidden; width: 270px; white-space: nowrap; text-overflow: ellipsis;" runat="server" id="divVTC_desc">
		<%-- <asp:Label id="lblVTC_desc" runat="server"></asp:Label>--%></div>
	</td>
	</tr>
        </table>
    </div>
      <br class="sp3px" />
      <table class="tab_alt" style="width: 95%" cellpadding="0" cellspacing="0">
                    <tr class="header">
                    <td class="noWrapTD"  style="width:35px">
                           序号
                        </td>
                         <%--<td class="noWrapTD">
                          培训班名称
                        </td>--%>
                        <td class="noWrapTD">
                            学生姓名
                        </td>
                        <td class="noWrapTD">
                            <nobr>登录名/学号</nobr>
                        </td>
                        <td class="noWrapTD">
                            联系电话
                        </td>
                        <td class="noWrapTD">
                            Email
                        </td>
                        <%-- <td class="noWrapTD">
                             购买复习帐号
                        </td>
                       --%>
                         <%--<td class="noWrapTD">
                         启用
                        </td>--%>
                    
                    </tr>
                      <!--第一行 -->
                    <tr style="height:35px" id="tr1">
                    <td>1</td>
                     <%--<td><asp:TextBox ID="txtTrainingClassName1" runat="server"    CssClass="inp3"></asp:TextBox>
                      <ajaxtoolkit:AutoCompleteExtender ID="AceTrainingClass1" runat="server" BehaviorID="AceTrainingClass1"   CompletionInterval="1000" EnableCaching="true"       UseContextKey="true" MinimumPrefixLength="0" ServiceMethod="GetTrainingClass"     TargetControlID="txtTrainingClassName1"  OnClientItemSelected="SetClassSelectedValue"   CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem" CompletionListItemCssClass="autocomplete_listItem" >  </ajaxtoolkit:AutoCompleteExtender>
                        <asp:HiddenField ID="hidTrainingClassId1" runat="server" Value="0" />
                    </td>--%> 
                    <td><asp:TextBox ID="txtUserRealName1" runat="server"   CssClass="inp3"></asp:TextBox> 
                     <ajaxtoolkit:AutoCompleteExtender ID="AceUserRealName1" runat="server" BehaviorID="AceUserRealName1"    CompletionInterval="1000" EnableCaching="true"  OnClientItemSelected="SetSelectedValue"  CompletionSetCount="10"      UseContextKey="true" MinimumPrefixLength="0" ServiceMethod="GetUserInfoByRealName"    TargetControlID="txtUserRealName1" 
                      CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem" CompletionListItemCssClass="autocomplete_listItem" >
                    </ajaxtoolkit:AutoCompleteExtender>
                        <asp:HiddenField ID="hidUserId1" runat="server" Value="0" />
                    </td>
                    <td><asp:TextBox ID="txtLoginName1" runat="server" CssClass="inp3"></asp:TextBox></td>
                    <td><asp:TextBox ID="txtMobile1" runat="server" CssClass="inp3"></asp:TextBox></td>
                    <td><asp:TextBox ID="txtEmail1" runat="server" CssClass="inp3"></asp:TextBox></td>
                  <%--<td>
                         <asp:DropDownList Width="60px" ID="ddlIsBuyingAccount1" runat="server" CssClass="inp2">
                            <asp:ListItem Value="1">是</asp:ListItem>
                            <asp:ListItem Value="0">否</asp:ListItem>
                        </asp:DropDownList>
                    </td>--%>
                   
                    <td>
                        <asp:Label ID="lblMsg1" runat="server" Text="" style="color:red"></asp:Label>
                    </td>
                    </tr>
                      <!--第二行 -->
                    <tr style="height:30px" id="tr2">
                      <td>2</td>
                       <%--<td><asp:TextBox ID="txtTrainingClassName2" runat="server"     CssClass="inp3"></asp:TextBox>
                      <ajaxtoolkit:AutoCompleteExtender ID="AceTrainingClass2" runat="server" BehaviorID="AceTrainingClass2"   CompletionInterval="1000" EnableCaching="true"       UseContextKey="true" MinimumPrefixLength="0" ServiceMethod="GetTrainingClass"     TargetControlID="txtTrainingClassName2"  
                      OnClientItemSelected="SetClassSelectedValue"   CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem" CompletionListItemCssClass="autocomplete_listItem">
                    </ajaxtoolkit:AutoCompleteExtender>
                    <asp:HiddenField ID="hidTrainingClassId2" runat="server" Value="0" />
                    </td>--%> 
                    <td><asp:TextBox ID="txtUserRealName2" runat="server"    CssClass="inp3"></asp:TextBox> 
                     <ajaxtoolkit:AutoCompleteExtender ID="AceUserRealName2" runat="server" BehaviorID="AceUserRealName2"    CompletionInterval="1000" EnableCaching="true"  OnClientItemSelected="SetSelectedValue"       UseContextKey="true" MinimumPrefixLength="0" ServiceMethod="GetUserInfoByRealName"   
                      TargetControlID="txtUserRealName2"    CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem" CompletionListItemCssClass="autocomplete_listItem">
                    </ajaxtoolkit:AutoCompleteExtender>
                        <asp:HiddenField ID="hidUserId2" runat="server" Value="0" />
                    </td>
                    <td><asp:TextBox ID="txtLoginName2" runat="server"  CssClass="inp3"></asp:TextBox></td>
                    <td><asp:TextBox ID="txtMobile2" runat="server"  CssClass="inp3"></asp:TextBox></td>
                    <td><asp:TextBox ID="txtEmail2" runat="server"  CssClass="inp3"></asp:TextBox></td>
                   
                   <%--<td>
                        <asp:DropDownList Width="60px" ID="ddlIsBuyingAccount2" runat="server" CssClass="inp2" style="border: 1px solid #d2e5f4;">
                            <asp:ListItem Value="1">是</asp:ListItem>
                            <asp:ListItem Value="0">否</asp:ListItem>
                        </asp:DropDownList>
                    </td>--%>
                    <td>
                       <asp:Label ID="lblMsg2" runat="server" Text="" style="color:red"></asp:Label>
                    </td>
                    </tr>
                    <!--第三行 -->
                    <tr style="height:30px" id="tr3">
                     <td>3</td>
                      <%--<td><asp:TextBox ID="txtTrainingClassName3" runat="server"    CssClass="inp3"></asp:TextBox>
                      <ajaxtoolkit:AutoCompleteExtender ID="AceTrainingClass3" runat="server" BehaviorID="AceTrainingClass3"   CompletionInterval="1000" EnableCaching="true"       UseContextKey="true" MinimumPrefixLength="0" ServiceMethod="GetTrainingClass"     TargetControlID="txtTrainingClassName3"    
                      OnClientItemSelected="SetClassSelectedValue"  CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem" CompletionListItemCssClass="autocomplete_listItem">
                    </ajaxtoolkit:AutoCompleteExtender>
                    <asp:HiddenField ID="hidTrainingClassId3" runat="server" Value="0"/>
                    </td>--%> 
                    <td><asp:TextBox ID="txtUserRealName3" runat="server"    CssClass="inp3"></asp:TextBox> 
                     <ajaxtoolkit:AutoCompleteExtender ID="AceUserRealName3" runat="server" BehaviorID="AceUserRealName3"    CompletionInterval="1000" EnableCaching="true"  OnClientItemSelected="SetSelectedValue"       UseContextKey="true" MinimumPrefixLength="0" ServiceMethod="GetUserInfoByRealName"    TargetControlID="txtUserRealName3"    CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem" CompletionListItemCssClass="autocomplete_listItem">
                    </ajaxtoolkit:AutoCompleteExtender>
                        <asp:HiddenField ID="hidUserId3" runat="server" Value="0" />
                    </td>
                    <td><asp:TextBox ID="txtLoginName3" runat="server"  CssClass="inp3"></asp:TextBox></td>
                    <td><asp:TextBox ID="txtMobile3" runat="server"  CssClass="inp3"></asp:TextBox></td>
                    <td><asp:TextBox ID="txtEmail3" runat="server"  CssClass="inp3"></asp:TextBox></td>
                    <%--<td>
                         <asp:DropDownList Width="60px" ID="ddlIsBuyingAccount3" runat="server" CssClass="inp2">
                            <asp:ListItem Value="1">是</asp:ListItem>
                            <asp:ListItem Value="0">否</asp:ListItem>
                        </asp:DropDownList>
                    </td>--%>
                    <td>
                       <asp:Label ID="lblMsg3" runat="server" Text="" style="color:red"></asp:Label>
                    </td>
                    </tr>
                      <!--第四行 -->
                     <tr style="height:30px" id="tr4">
                     <td>4</td>
                      <%--<td><asp:TextBox ID="txtTrainingClassName4" runat="server"    CssClass="inp3"></asp:TextBox>
                      <ajaxtoolkit:AutoCompleteExtender ID="AceTrainingClass4" runat="server" BehaviorID="AceTrainingClass4"   CompletionInterval="1000" EnableCaching="true"       UseContextKey="true" MinimumPrefixLength="0" ServiceMethod="GetTrainingClass"  OnClientItemSelected="SetClassSelectedValue"     TargetControlID="txtTrainingClassName4">
                    </ajaxtoolkit:AutoCompleteExtender>
                    <asp:HiddenField ID="hidTrainingClassId4" runat="server" Value="0" />
                    </td>--%> 
                    <td><asp:TextBox ID="txtUserRealName4" runat="server"    CssClass="inp3"></asp:TextBox> 
                     <ajaxtoolkit:AutoCompleteExtender ID="AceUserRealName4" runat="server" BehaviorID="AceUserRealName4"    CompletionInterval="1000" EnableCaching="true"  OnClientItemSelected="SetSelectedValue"       UseContextKey="true" MinimumPrefixLength="0" ServiceMethod="GetUserInfoByRealName"    TargetControlID="txtUserRealName4">
                    </ajaxtoolkit:AutoCompleteExtender>
                        <asp:HiddenField ID="hidUserId4" runat="server" Value="0" />
                    </td>
                    <td><asp:TextBox ID="txtLoginName4" runat="server"  CssClass="inp3"></asp:TextBox></td>
                    <td><asp:TextBox ID="txtMobile4" runat="server"  CssClass="inp3"></asp:TextBox></td>
                    <td><asp:TextBox ID="txtEmail4" runat="server"  CssClass="inp3"></asp:TextBox></td>
                    <%--<td>
                         <asp:DropDownList Width="60px" ID="ddlIsBuyingAccount4" runat="server" CssClass="inp2">
                            <asp:ListItem Value="1">是</asp:ListItem>
                            <asp:ListItem Value="0">否</asp:ListItem>
                        </asp:DropDownList>
                    </td>--%>
                    <td>
                       <asp:Label ID="lblMsg4" runat="server" Text="" style="color:red"></asp:Label>
                    </td>
                    </tr>
                      <!--第五行 -->
                     <tr style="height:30px" id="tr5">
                     <td>5</td>
                     <%--<td><asp:TextBox ID="txtTrainingClassName5" runat="server"    CssClass="inp3"></asp:TextBox>
                      <ajaxtoolkit:AutoCompleteExtender ID="AceTrainingClass5" runat="server" BehaviorID="AceTrainingClass5"   CompletionInterval="1000" EnableCaching="true"       UseContextKey="true" MinimumPrefixLength="0" ServiceMethod="GetTrainingClass"  OnClientItemSelected="SetClassSelectedValue"    TargetControlID="txtTrainingClassName5">
                    </ajaxtoolkit:AutoCompleteExtender>
                    <asp:HiddenField ID="hidTrainingClassId5" runat="server"  Value="0"/>
                    </td>--%> 
                    <td><asp:TextBox ID="txtUserRealName5" runat="server"    CssClass="inp3"></asp:TextBox> 
                     <ajaxtoolkit:AutoCompleteExtender ID="AceUserRealName5" runat="server" BehaviorID="AceUserRealName5"    CompletionInterval="1000" EnableCaching="true"  OnClientItemSelected="SetSelectedValue"       UseContextKey="true" MinimumPrefixLength="0" ServiceMethod="GetUserInfoByRealName"    TargetControlID="txtUserRealName5">
                    </ajaxtoolkit:AutoCompleteExtender>
                        <asp:HiddenField ID="hidUserId5" runat="server" Value="0" />
                    </td>
                    <td><asp:TextBox ID="txtLoginName5" runat="server"  CssClass="inp3"></asp:TextBox></td>
                    <td><asp:TextBox ID="txtMobile5" runat="server"  CssClass="inp3"></asp:TextBox></td>
                    <td><asp:TextBox ID="txtEmail5" runat="server"  CssClass="inp3"></asp:TextBox></td>
                    
                     <%--<td>
                         <asp:DropDownList Width="60px" ID="ddlIsBuyingAccount5" runat="server" CssClass="inp2">
                            <asp:ListItem Value="1">是</asp:ListItem>
                            <asp:ListItem Value="0">否</asp:ListItem>
                        </asp:DropDownList>
                    </td>--%>
                    <td>
                       <asp:Label ID="lblMsg5" runat="server" Text="" style="color:red"></asp:Label>
                    </td>
                    </tr>
                      <!--第六行 -->
                     <tr style="height:30px" id="tr6">
                     <td>6</td>
                      <%--<td><asp:TextBox ID="txtTrainingClassName6" runat="server"    CssClass="inp3"></asp:TextBox>
                      <ajaxtoolkit:AutoCompleteExtender ID="AceTrainingClass6" runat="server" BehaviorID="AceTrainingClass6"   CompletionInterval="1000" EnableCaching="true"       UseContextKey="true" MinimumPrefixLength="0" ServiceMethod="GetTrainingClass"  OnClientItemSelected="SetClassSelectedValue"    TargetControlID="txtTrainingClassName6">
                    </ajaxtoolkit:AutoCompleteExtender>
                    <asp:HiddenField ID="hidTrainingClassId6" runat="server" Value="0"/>
                    </td>--%> 
                    <td><asp:TextBox ID="txtUserRealName6" runat="server"    CssClass="inp3"></asp:TextBox> 
                     <ajaxtoolkit:AutoCompleteExtender ID="AceUserRealName6" runat="server" BehaviorID="AceUserRealName6"    CompletionInterval="1000" EnableCaching="true"  OnClientItemSelected="SetSelectedValue"       UseContextKey="true" MinimumPrefixLength="0" ServiceMethod="GetUserInfoByRealName"    TargetControlID="txtUserRealName6">
                    </ajaxtoolkit:AutoCompleteExtender>
                        <asp:HiddenField ID="hidUserId6" runat="server" Value="0" />
                    </td>
                    <td><asp:TextBox ID="txtLoginName6" runat="server"  CssClass="inp3"></asp:TextBox></td>
                    <td><asp:TextBox ID="txtMobile6" runat="server"  CssClass="inp3"></asp:TextBox></td>
                    <td><asp:TextBox ID="txtEmail6" runat="server"  CssClass="inp3"></asp:TextBox></td>
                   
                    <%--<td>
                         <asp:DropDownList Width="60px" ID="ddlIsBuyingAccount6" runat="server" CssClass="inp2">
                            <asp:ListItem Value="1">是</asp:ListItem>
                            <asp:ListItem Value="0">否</asp:ListItem>
                        </asp:DropDownList>
                    </td>--%>
                    <td>
                       <asp:Label ID="lblMsg6" runat="server" Text="" style="color:red"></asp:Label>
                    </td>
                    </tr>
                      <!--第七行 -->
                     <tr style="height:30px" id="tr7">
                     <td>7</td>
                      <%--<td><asp:TextBox ID="txtTrainingClassName7" runat="server"    CssClass="inp3"></asp:TextBox>
                      <ajaxtoolkit:AutoCompleteExtender ID="AceTrainingClass7" runat="server" BehaviorID="AceTrainingClass7"   CompletionInterval="1000" EnableCaching="true"       UseContextKey="true" MinimumPrefixLength="0" ServiceMethod="GetTrainingClass"     TargetControlID="txtTrainingClassName7" OnClientItemSelected="SetClassSelectedValue" >
                    </ajaxtoolkit:AutoCompleteExtender>
                    <asp:HiddenField ID="hidTrainingClassId7" runat="server" Value="0"/>
                    </td>--%> 
                    <td><asp:TextBox ID="txtUserRealName7" runat="server"    CssClass="inp3"></asp:TextBox> 
                     <ajaxtoolkit:AutoCompleteExtender ID="AceUserRealName7" runat="server" BehaviorID="AceUserRealName7"    CompletionInterval="1000" EnableCaching="true"  OnClientItemSelected="SetSelectedValue"       UseContextKey="true" MinimumPrefixLength="0" ServiceMethod="GetUserInfoByRealName"    TargetControlID="txtUserRealName7" >
                    </ajaxtoolkit:AutoCompleteExtender>
                        <asp:HiddenField ID="hidUserId7" runat="server" Value="0" />
                    </td>
                    <td><asp:TextBox ID="txtLoginName7" runat="server"  CssClass="inp3"></asp:TextBox></td>
                    <td><asp:TextBox ID="txtMobile7" runat="server"  CssClass="inp3"></asp:TextBox></td>
                    <td><asp:TextBox ID="txtEmail7" runat="server"  CssClass="inp3"></asp:TextBox></td>
                    <%--<td>
                         <asp:DropDownList Width="60px" ID="ddlIsBuyingAccount7" runat="server" CssClass="inp2">
                            <asp:ListItem Value="1">是</asp:ListItem>
                            <asp:ListItem Value="0">否</asp:ListItem>
                        </asp:DropDownList>
                    </td>--%>
                    <td>
                       <asp:Label ID="lblMsg7" runat="server" Text="" style="color:red"></asp:Label>
                    </td>
                    </tr>
                      <!--第八行 -->
                     <tr style="height:30px" id="tr8">
                     <td>8</td>
                     <%--<td><asp:TextBox ID="txtTrainingClassName8" runat="server"    CssClass="inp3"></asp:TextBox>
                      <ajaxtoolkit:AutoCompleteExtender ID="AceTrainingClass8" runat="server" BehaviorID="AceTrainingClass8"   CompletionInterval="1000" EnableCaching="true"       UseContextKey="true" MinimumPrefixLength="0" ServiceMethod="GetTrainingClass"  OnClientItemSelected="SetClassSelectedValue"    TargetControlID="txtTrainingClassName8">
                    </ajaxtoolkit:AutoCompleteExtender>
                    <asp:HiddenField ID="hidTrainingClassId8" runat="server" Value="0" />
                    </td>--%> 
                    <td><asp:TextBox ID="txtUserRealName8" runat="server"    CssClass="inp3"></asp:TextBox> 
                     <ajaxtoolkit:AutoCompleteExtender ID="AceUserRealName8" runat="server" BehaviorID="AceUserRealName8"    CompletionInterval="1000" EnableCaching="true"  OnClientItemSelected="SetSelectedValue"       UseContextKey="true" MinimumPrefixLength="0" ServiceMethod="GetUserInfoByRealName"    TargetControlID="txtUserRealName8">
                    </ajaxtoolkit:AutoCompleteExtender>
                        <asp:HiddenField ID="hidUserId8" runat="server" Value="0" />
                    </td>
                    <td><asp:TextBox ID="txtLoginName8" runat="server"  CssClass="inp3"></asp:TextBox></td>
                    <td><asp:TextBox ID="txtMobile8" runat="server"  CssClass="inp3"></asp:TextBox></td>
                    <td><asp:TextBox ID="txtEmail8" runat="server"  CssClass="inp3"></asp:TextBox></td>
                      <%--<td>
                         <asp:DropDownList Width="60px" ID="ddlIsBuyingAccount8" runat="server" CssClass="inp2">
                            <asp:ListItem Value="1">是</asp:ListItem>
                            <asp:ListItem Value="0">否</asp:ListItem>
                        </asp:DropDownList>
                    </td>--%>
                    <td>
                       <asp:Label ID="lblMsg8" runat="server" Text="" style="color:red"></asp:Label>
                    </td>
                    </tr>
                      <!--第九行 -->
                     <tr style="height:30px" id="tr9">
                     <td>9</td>
                      <%--<td><asp:TextBox ID="txtTrainingClassName9" runat="server"    CssClass="inp3"></asp:TextBox>
                      <ajaxtoolkit:AutoCompleteExtender ID="AceTrainingClass9" runat="server" BehaviorID="AceTrainingClass9"   CompletionInterval="1000" EnableCaching="true"       UseContextKey="true" MinimumPrefixLength="0" ServiceMethod="GetTrainingClass"   OnClientItemSelected="SetClassSelectedValue"   TargetControlID="txtTrainingClassName9">
                    </ajaxtoolkit:AutoCompleteExtender>
                    <asp:HiddenField ID="hidTrainingClassId9" runat="server" Value="0" />
                    </td>--%> 
                    <td><asp:TextBox ID="txtUserRealName9" runat="server"    CssClass="inp3"></asp:TextBox> 
                     <ajaxtoolkit:AutoCompleteExtender ID="AceUserRealName9" runat="server" BehaviorID="AceUserRealName9"    CompletionInterval="1000" EnableCaching="true"  OnClientItemSelected="SetSelectedValue"       UseContextKey="true" MinimumPrefixLength="0" ServiceMethod="GetUserInfoByRealName"    TargetControlID="txtUserRealName9">
                    </ajaxtoolkit:AutoCompleteExtender>
                        <asp:HiddenField ID="hidUserId9" runat="server" Value="0" />
                    </td>
                    <td><asp:TextBox ID="txtLoginName9" runat="server"  CssClass="inp3"></asp:TextBox></td>
                    <td><asp:TextBox ID="txtMobile9" runat="server"  CssClass="inp3"></asp:TextBox></td>
                    <td><asp:TextBox ID="txtEmail9" runat="server"  CssClass="inp3"></asp:TextBox></td>
                    <%--<td>
                         <asp:DropDownList Width="60px" ID="ddlIsBuyingAccount9" runat="server" CssClass="inp2">
                            <asp:ListItem Value="1">是</asp:ListItem>
                            <asp:ListItem Value="0">否</asp:ListItem>
                        </asp:DropDownList>
                    </td>--%>
                    <td>
                       <asp:Label ID="lblMsg9" runat="server" Text="" style="color:red"></asp:Label>
                    </td>
                    </tr>
                      <!--第十行 -->
                     <tr style="height:30px" id="tr10">
                     <td>10</td>
                      <%--<td><asp:TextBox ID="txtTrainingClassName10" runat="server"    CssClass="inp3"></asp:TextBox>
                      <ajaxtoolkit:AutoCompleteExtender ID="AceTrainingClass10" runat="server" BehaviorID="AceTrainingClass10"   CompletionInterval="1000" EnableCaching="true"       UseContextKey="true" MinimumPrefixLength="0" ServiceMethod="GetTrainingClass"  OnClientItemSelected="SetClassSelectedValue"    TargetControlID="txtTrainingClassName10">
                    </ajaxtoolkit:AutoCompleteExtender>
                    <asp:HiddenField ID="hidTrainingClassId10" runat="server" Value="0"/>
                    </td>--%> 
                    <td><asp:TextBox ID="txtUserRealName10" runat="server"    CssClass="inp3"></asp:TextBox> 
                     <ajaxtoolkit:AutoCompleteExtender ID="AceUserRealName10" runat="server" BehaviorID="AceUserRealName10"    CompletionInterval="1000" EnableCaching="true"  OnClientItemSelected="SetSelectedValue"       UseContextKey="true" MinimumPrefixLength="0" ServiceMethod="GetUserInfoByRealName"    TargetControlID="txtUserRealName10">
                    </ajaxtoolkit:AutoCompleteExtender>
                        <asp:HiddenField ID="hidUserId10" runat="server" Value="0" />
                    </td>
                    <td><asp:TextBox ID="txtLoginName10" runat="server"  CssClass="inp3"></asp:TextBox></td>
                    <td><asp:TextBox ID="txtMobile10" runat="server"  CssClass="inp3"></asp:TextBox></td>
                    <td><asp:TextBox ID="txtEmail10" runat="server"  CssClass="inp3"></asp:TextBox></td>
                    <%--<td>
                         <asp:DropDownList Width="60px" ID="ddlIsBuyingAccount10" runat="server" CssClass="inp2">
                            <asp:ListItem Value="1">是</asp:ListItem>
                            <asp:ListItem Value="0">否</asp:ListItem>
                        </asp:DropDownList>
                    </td>--%>
                    <td>
                       <asp:Label ID="lblMsg10" runat="server" Text="" style="color:red"></asp:Label>
                    </td>
                    </tr>
                
                    <tr><td colspan="6">
                      </td></tr>
                    </table>
        <asp:Button ID="btnAdd" runat="server" Text=" 确认添加" 
                            OnClientClick="return CheckUserValue();" onclick="btnAdd_Click"  CssClass="button"/>&nbsp;&nbsp;
           <asp:Button ID="btnRedirectList" runat="server" Text=" 返回学员列表"   
            Width="100px"  CssClass="button" onclick="btnRedirectList_Click"/>
           
    </div>
    </form>
</body>
</html>
